The installation of the J2XB module with the Axis2 web application is a simple process of copying two J2XB jars to the lib directory of the Axis2 web application and copying the J2XB module to the modules directory of the Axis2 web application.
Note that the J2XB Axis2 module requires J2XB version 1.1+
The normal structure of the Axis2 web application is
axis2 +-- axis2-web +-- META-INF +-- WEB-INF +-- classes +-- conf +-- lib +-- modules | +-- modules.list | +-- <modules - mar archives> +-- services | +-- services.list | +-- <services - aar archives> +-- web.xml
To install the J2XB module with the Axis2 web application, do the following:
1. Copy the following libraries to the axis2/WEB-INF/lib directory * j2xb-core-*.jar * j2xb-axiom-binding-*.jar
2. Copy the J2XB module to the axis2/WEB-INF/modules directory * j2xb-axis2-*.mar
3. In some cases you will be required to update the file axis2/WEB-INF/modules/modules.list with the j2xb-axis2-*.mar entry